<p id="notice"><%= notice %></p>

<p>
  <b>Title:</b>
  <%= @book.title %>
</p>

<p>
  <b>Description:</b>
  <%= @book.description %>
</p>

<p>
  <b>Author:</b>
  <%= @book.author %>
</p>

<p>
  <b>Code:</b>
  <%= @book.code %>
</p>

<p>
  <b>Quantity:</b>
  <%= @book.quantity %>
</p>

<p>
  <b>Current quantity:</b>
  <%= @book.current_quantity %>
</p>

<p>
  <b>Category:</b>
  <%= @book.category_id %>
</p>

<p>
  <b>Price:</b>
  <%= @book.price %>
</p>

<p>
  <b>Image url:</b>
  <%= @book.image_url %>
</p>

<p>
  <b>Numviewed:</b>
  <%= @book.numviewed %>
</p>

<p>
  <b>Numborrowed:</b>
  <%= @book.numborrowed %>
</p>


<%= link_to 'Edit', edit_book_path(@book) %> |
<%= link_to 'Back', books_path %>
